/**
 * 
 */
package com.shiplanet.dao;

import java.util.List;

import com.shiplanet.entity.Category;
import com.shiplanet.entity.Post;

/**
 * @author joesong
 *
 */
public interface PostDAO extends BaseDAO<Post> {
	public List<Post> findPostsByCategoryAndKeyword(List<Category> catList,
			String keyword);
	
	public List<Post> findPostsByCategory(List<Category> catList);
	
	public long countPost();
	
	public List<Post> findPost(int page, int rows);
	
	public List<Post> findFeaturedPost();
	
}
